/**
 * futures : masterlink.futures.dao.Dao.java
 */
package masterlink.futures.dao;

import java.io.Serializable;
import java.util.List;

/**
 * TODO Write the description
 *
 * @author : tonyyang
 * Create date : 2011/10/25
 * @version 1.0.0	
 */
public interface Dao<Bean extends Serializable,ID extends Serializable> {
	
	public List<Bean> findAll();
	
	public Bean findById(ID id);
	
	public void save(Bean bean);
	
	public void save(List<Bean> list);
	
	public void update(Bean bean);
	
	public void update(List<Bean> list);
	
	public void delete(Bean bean);
	
	public void delete(List<Bean> list);
	
}
